home *** CD-ROM | disk | FTP | other *** search
- How to use these diffs
- ----------------------
-
- In general:
-
- 1. Make sure you are applying the diffs to the correct version of the
- FSF distribution! Check the versions file for version numbers.
-
- 2. Un-tar the FSF distribution. Use "djtarx" included with the
- binaries for this, as it refuses to overwrite existing files (like when
- they're different after the eigth character). Check the versions file
- for file renaming instructions.
-
- 3. You'll probably want to convert the sources from Unix to DOS text
- file format. Use the "utod" program in the utils directory. If you're
- building gcc.exe, you have to convert to DOS format.
-
- 4. Apply the diffs by running "patch < whatever.dif" in the same
- directory as the sources.
-
- 5. Run "make". Most of the makefiles require response files, as the
- command lines are longer than 128 characters, and the makefiles are set
- up to use NDMAKE's method of creating response files.
-
-
- Special Instructions:
-
- gcc:
- After applying the diffs, you must run CONFIG-D.BAT to configure the
- compiler for go32's environment, then run MAKEALL.BAT. This will build
- the appropriate parts of the compiler while avoiding the unix-isms of
- the makefile.
-
- g++:
- First, untar the gcc sources, apply the gcc diffs, and run
- CONFIG-D.BAT to configure the basic compiler. Then untar the g++
- sources in a different directory and apply the g++ diffs to them. Next,
- copy the g++ sources into the gcc directory, overwriting the gcc
- sources, and run MAKEALL.BAT.
-
- binutils:
- Before applying the diffs, copy ld.c and cplus-dem.c from the g++
- sources over the ones in the binutils set. Cplus-dem.c will probably be
- called cp-dem.c in the g++ directory.
-